package com.chentf.creational.factory.simple_factory;

/**
 * 咖啡类
 * Created by CHENTF on 2025-3-25 08:58:38
 */
public abstract class Coffee {

    public abstract String getName();

    // 加糖
    public void addSugar() {
        System.out.println("加糖");
    }

    // 加奶
    public void addMilk() {
        System.out.println("加奶");
    }
}
